/**
 * 
 */
package ve.com.neometrica.inventario.impl.service;

import java.util.List;

import ve.com.neometrica.inventario.api.dao.AuditorDao;
import ve.com.neometrica.inventario.api.model.Auditor;
import ve.com.neometrica.inventario.api.service.AuditorService;

/**
 * @author a.cabrera
 *
 */
public class AuditorServiceImpl implements AuditorService {

	AuditorDao auditorDao;

	@Override
	public void save(Auditor auditor) {
		this.auditorDao.save(auditor);		
	}

	@Override
	public List<Auditor> getAll() {
		return this.auditorDao.getAll();
	}

	@Override
	public Auditor getById(Integer id) {
		return this.auditorDao.getById(id);
	}

	public AuditorDao getAuditorDao() {
		return auditorDao;
	}

	public void setAuditorDao(AuditorDao auditorDao) {
		this.auditorDao = auditorDao;
	}
	
}
